home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hplj4100.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  43.9 KB  |  1,496 lines

  1. *%-------------------------------------------------------------------------
  2. *% GPD File Name and version number
  3. *%-------------------------------------------------------------------------
  4. *GPDFileName: "hplj4100.gpd"
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.010"
  7.  
  8. *%-------------------------------------------------------------------------
  9. *% GPD files to include.
  10. *%-------------------------------------------------------------------------
  11. *Include: "stdnames.gpd"
  12. *Include: "ttfsub.gpd"
  13. *Include: "hpcmacro.gpd"
  14. *Include: "hpcfont.gpd"
  15.  
  16. *%-------------------------------------------------------------------------
  17. *% Help File
  18. *%-------------------------------------------------------------------------
  19. *HelpFile: "hpcljx.hlp"
  20.  
  21. *%-------------------------------------------------------------------------
  22. *% The resource DLL contains strings, icons, bitmaps, fonts, etc.
  23. *%-------------------------------------------------------------------------
  24. *ResourceDLL: "hpcstr.dll"
  25.  
  26. *Feature: RESDLL
  27. {
  28.     *Option: Pcl5res
  29.     {
  30.         *Name: "pcl5eres.dll"
  31.     }
  32. }
  33.  
  34. *%-------------------------------------------------------------------------
  35. *% This is the same model name in the .inf file
  36. *%-------------------------------------------------------------------------
  37. *ModelName: "HP LaserJet 4100 Series PCL"
  38.  
  39. *%-------------------------------------------------------------------------
  40. *% The Unidriver uses 1200 as the Master Units.
  41. *%-------------------------------------------------------------------------
  42. *MasterUnits: PAIR(1200, 1200)
  43.  
  44. *PrinterType: PAGE
  45. *MaxCopies: 999
  46.  
  47. *%-------------------------------------------------------------------------
  48. *% Print rate metrics
  49. *%-------------------------------------------------------------------------
  50. *PrintRate: 9
  51. *PrintRatePPM: 9
  52. *PrintRateUnit: PPM
  53.  
  54. *FontCartSlots: 0
  55.  
  56.  
  57. *%-------------------------------------------------------------------------
  58. *% Paper / Tray Constraints
  59. *%-------------------------------------------------------------------------
  60. *BlockMacro: InputBinConstraints
  61. {
  62.     *Constraints: InputBin.TRAY2
  63.     *Constraints: InputBin.TRAY3
  64.     *Constraints: InputBin.TRAY4
  65. }
  66.  
  67.  
  68. *%-------------------------------------------------------------------------
  69. *% Paper Sizes
  70. *%-------------------------------------------------------------------------
  71. *Feature: PaperSize
  72. {
  73.     *rcNameID: =PAPER_SIZE_DISPLAY
  74.  
  75.     *HelpIndex: 13022
  76.  
  77.     *DefaultOption: LETTER
  78.  
  79.     *Option:16K                                     *% physical page (9300, 12900 - 7.75" x 10.75")
  80.     {
  81.        *rcNameID: =IDS_16K
  82.        *PageDimensions: PAIR(9300,12900)
  83.        *Constraints: InputBin.ENVFEED
  84.  
  85.        *switch: Orientation
  86.        {
  87.            *case: PORTRAIT
  88.            {
  89.                *PrintableArea: PAIR(8700,12500)     
  90.                *PrintableOrigin: PAIR(300, 200)
  91.                *CursorOrigin: PAIR(300, 200)
  92.                *Command: CmdSelect
  93.                {
  94.                    *Order: DOC_SETUP.12
  95.                    *Cmd: "<1B>&l17a8c1E<1B>*p0x0Y<1B>*c0t5220x7500Y"
  96.                }
  97.            }
  98.            *case: LANDSCAPE_CC90
  99.            {
  100.                *PrintableArea: PAIR(8900, 12420)    
  101.                *PrintableOrigin: PAIR(200, 240)
  102.                *CursorOrigin: PAIR(200, 12660)
  103.                *Command: CmdSelect
  104.                {
  105.                    *Order: DOC_SETUP.12
  106.                    *Cmd: "<1B>&l17a8c1E<1B>*p0x0Y<1B>*c0t7452x5340Y"
  107.                }
  108.            }
  109.        }
  110.     }
  111.  
  112.     *Option: A4                                      *% physical page (9920, 14030 - 8.2677" x 11.693")
  113.     {                                                
  114.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME         
  115.         *Constraints: InputBin.ENVFEED
  116.  
  117.         *switch: Orientation
  118.         {
  119.             *case: PORTRAIT
  120.             {
  121.                 *PrintableArea: PAIR(9352, 13630)
  122.                 *PrintableOrigin: PAIR(284, 200)
  123.                 *CursorOrigin: PAIR(284, 200)
  124.                 *Command: CmdSelect
  125.                 {
  126.                     *Order: DOC_SETUP.12
  127.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5611x8178Y"
  128.                 }
  129.             }
  130.             *case: LANDSCAPE_CC90
  131.             {
  132.                 *PrintableArea: PAIR(9520, 13558)
  133.                 *PrintableOrigin: PAIR(200, 236)
  134.                 *CursorOrigin: PAIR(200, 13794)
  135.                 *Command: CmdSelect
  136.                 {
  137.                     *Order: DOC_SETUP.12
  138.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8135x5712Y"
  139.                 }
  140.             }
  141.         }
  142.     }
  143.  
  144.     *Option: A5                                      *% physical page (6992, 9920 - 5.8268" x 8.2677")
  145.     {                                                
  146.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  147.         *Constraints: InputBin.ENVFEED
  148.         *InsertBlock: =DuplexConstraints
  149.  
  150.         *switch: Orientation
  151.         {
  152.             *case: PORTRAIT
  153.             {
  154.                 *PrintableArea: PAIR(6424, 9520)
  155.                 *PrintableOrigin: PAIR(284, 200)
  156.                 *CursorOrigin: PAIR(284, 200)
  157.                 *Command: CmdSelect
  158.                 {
  159.                     *Order: DOC_SETUP.12
  160.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t3855x5712Y"
  161.                 }
  162.             }
  163.             *case: LANDSCAPE_CC90
  164.             {
  165.                 *PrintableArea: PAIR(6592, 9448)
  166.                 *PrintableOrigin: PAIR(200, 236)
  167.                 *CursorOrigin: PAIR(200, 9684)
  168.                 *Command: CmdSelect
  169.                 {
  170.                     *Order: DOC_SETUP.12
  171.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t5669x3955Y"
  172.                 }
  173.             }
  174.         }
  175.     }
  176.  
  177.     *Option: B5_ISO                                  *% B5
  178.     {                                                *% physical page (8312, 11808 - 6.9291" x 9.8425")
  179.         *rcNameID: =IDS_B5
  180.         *PageDimensions: PAIR(8312, 11808)
  181.         *Constraints: InputBin.ENVFEED
  182.         *InsertBlock: =DuplexConstraints
  183.  
  184.         *switch: Orientation
  185.         {
  186.             *case: PORTRAIT
  187.             {
  188.                 *PrintableArea: PAIR(7744, 11408)
  189.                 *PrintableOrigin: PAIR(284, 200)
  190.                 *CursorOrigin: PAIR(284, 200)
  191.                 *Command: CmdSelect
  192.                 {
  193.                     *Order: DOC_SETUP.12
  194.                     *Cmd: "<1B>&l65a8c1E<1B>*p0x0Y<1B>*c0t4646x6845Y"
  195.                 }
  196.             }
  197.             *case: LANDSCAPE_CC90
  198.             {
  199.                 *PrintableArea: PAIR(7912, 11336)
  200.                 *PrintableOrigin: PAIR(200, 236)
  201.                 *CursorOrigin: PAIR(200, 11572)
  202.                 *Command: CmdSelect
  203.                 {
  204.                     *Order: DOC_SETUP.12
  205.                     *Cmd: "<1B>&l65a8c1E<1B>*p0x0Y<1B>*c0t6801x4747Y"
  206.                 }
  207.             }
  208.         }
  209.     }
  210.  
  211.  
  212.     *Option: B5                                      *% B5 (JIS)
  213.     {                                                *% physical page (8598, 12140 - 7.1653" x 10.118")
  214.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  215.         *Constraints: InputBin.ENVFEED
  216.  
  217.         *switch: Orientation
  218.         {
  219.             *case: PORTRAIT
  220.             {
  221.                 *PrintableArea: PAIR(8030, 11740)
  222.                 *PrintableOrigin: PAIR(284, 200)
  223.                 *CursorOrigin: PAIR(284, 200)
  224.                 *Command: CmdSelect
  225.                 {
  226.                     *Order: DOC_SETUP.12
  227.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4818x7044Y"
  228.                 }
  229.             }
  230.             *case: LANDSCAPE_CC90
  231.             {
  232.                 *PrintableArea: PAIR(8198, 11668)
  233.                 *PrintableOrigin: PAIR(200, 236)
  234.                 *CursorOrigin: PAIR(200, 11904)
  235.                 *Command: CmdSelect
  236.                 {
  237.                     *Order: DOC_SETUP.12
  238.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t7001x4919Y"
  239.                 }
  240.             }
  241.         }
  242.     }
  243.  
  244.     *Option: ENV_10                                 *% physical page (4948, 11400 - 4.125" x 9.5"))
  245.     {                                               
  246.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  247.         *InsertBlock: =InputBinConstraints
  248.         *InsertBlock: =DuplexConstraints
  249.  
  250.         *switch: Orientation
  251.         {
  252.             *case: PORTRAIT
  253.             {
  254.                 *PrintableArea: PAIR(4348, 11000)
  255.                 *PrintableOrigin: PAIR(300, 200)
  256.                 *CursorOrigin: PAIR(300, 200)
  257.                 *Command: CmdSelect
  258.                 {
  259.                     *Order: DOC_SETUP.12
  260.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y"
  261.                 }
  262.             }
  263.             *case: LANDSCAPE_CC90
  264.             {
  265.                 *PrintableArea: PAIR(4548, 10920)
  266.                 *PrintableOrigin: PAIR(200, 240)
  267.                 *CursorOrigin: PAIR(200, 11160)
  268.                 *Command: CmdSelect
  269.                 {
  270.                     *Order: DOC_SETUP.12
  271.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y"
  272.                 }
  273.             }
  274.         }
  275.     }
  276.  
  277.     *Option: ENV_B5                                 *% physical page (8314, 11810 - 6.9291" x 9.8425"))
  278.     {                                               
  279.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  280.         *InsertBlock: =InputBinConstraints
  281.         *InsertBlock: =DuplexConstraints
  282.  
  283.         *switch: Orientation
  284.         {
  285.             *case: PORTRAIT
  286.             {
  287.                 *PrintableArea: PAIR(7746, 11410)
  288.                 *PrintableOrigin: PAIR(284, 200)
  289.                 *CursorOrigin: PAIR(284, 200)
  290.                 *Command: CmdSelect
  291.                 {
  292.                     *Order: DOC_SETUP.12
  293.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4647x6846Y"
  294.                 }
  295.             }
  296.             *case: LANDSCAPE_CC90
  297.             {
  298.                 *PrintableArea: PAIR(7914, 11338)
  299.                 *PrintableOrigin: PAIR(200, 236)
  300.                 *CursorOrigin: PAIR(200, 11574)
  301.                 *Command: CmdSelect
  302.                 {
  303.                     *Order: DOC_SETUP.12
  304.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6802x4748Y"
  305.                 }
  306.             }
  307.         }
  308.     }
  309.  
  310.     *Option: ENV_C5                                 *% physical page (7652, 10818 - 6.3779" x 9.0157"))
  311.     {                                               
  312.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  313.         *InsertBlock: =InputBinConstraints
  314.         *InsertBlock: =DuplexConstraints
  315.  
  316.         *switch: Orientation
  317.         {
  318.             *case: PORTRAIT
  319.             {
  320.                 *PrintableArea: PAIR(7084, 10418)
  321.                 *PrintableOrigin: PAIR(284, 200)
  322.                 *CursorOrigin: PAIR(284, 200)
  323.                 *Command: CmdSelect
  324.                 {
  325.                     *Order: DOC_SETUP.12
  326.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4250x6250Y"
  327.                 }
  328.             }
  329.             *case: LANDSCAPE_CC90
  330.             {
  331.                 *PrintableArea: PAIR(7252, 10346)
  332.                 *PrintableOrigin: PAIR(200, 236)
  333.                 *CursorOrigin: PAIR(200, 10582)
  334.                 *Command: CmdSelect
  335.                 {
  336.                     *Order: DOC_SETUP.12
  337.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6208x4352Y"
  338.                 }
  339.             }
  340.         }
  341.     }
  342.  
  343.     *Option: ENV_DL                                 *% physical page (5196, 10392 - 4.3307" x 8.6614")
  344.     {                                               
  345.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  346.         *InsertBlock: =InputBinConstraints
  347.         *InsertBlock: =DuplexConstraints
  348.  
  349.         *switch: Orientation
  350.         {
  351.             *case: PORTRAIT
  352.             {
  353.                 *PrintableArea: PAIR(4628, 9992)
  354.                 *PrintableOrigin: PAIR(284, 200)
  355.                 *CursorOrigin: PAIR(284, 200)
  356.                 *Command: CmdSelect
  357.                 {
  358.                     *Order: DOC_SETUP.12
  359.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2777x5995Y"
  360.                 }
  361.             }
  362.             *case: LANDSCAPE_CC90
  363.             {
  364.                 *PrintableArea: PAIR(4796, 9920)
  365.                 *PrintableOrigin: PAIR(200, 236)
  366.                 *CursorOrigin: PAIR(200, 10156)
  367.                 *Command: CmdSelect
  368.                 {
  369.                     *Order: DOC_SETUP.12
  370.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5952x2878Y"
  371.                 }
  372.             }
  373.         }
  374.     }
  375.     *Option: ENV_MONARCH                            *% physical page (4648, 9000 - 3.875" x 7.50")
  376.     {                                               
  377.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  378.         *InsertBlock: =InputBinConstraints
  379.         *InsertBlock: =DuplexConstraints
  380.  
  381.         *switch: Orientation
  382.         {
  383.             *case: PORTRAIT
  384.             {
  385.                 *PrintableArea: PAIR(4048, 8600)
  386.                 *PrintableOrigin: PAIR(300, 200)
  387.                 *CursorOrigin: PAIR(300, 200)
  388.                 *Command: CmdSelect
  389.                 {
  390.                     *Order: DOC_SETUP.12
  391.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2429x5160Y"
  392.                 }
  393.             }
  394.             *case: LANDSCAPE_CC90
  395.             {
  396.                 *PrintableArea: PAIR(4248, 8520)
  397.                 *PrintableOrigin: PAIR(200, 240)
  398.                 *CursorOrigin: PAIR(200, 8760)
  399.                 *Command: CmdSelect
  400.                 {
  401.                     *Order: DOC_SETUP.12
  402.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5112x2549Y"
  403.                 }
  404.             }
  405.         }
  406.     }
  407.  
  408.     *Option: EXECUTIVE                              *% physical page (8700, 12600 - 7.25" x 10.5"))
  409.     {                                               
  410.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  411.         *Constraints: InputBin.ENVFEED
  412.  
  413.         *switch: Orientation
  414.         {
  415.             *case: PORTRAIT
  416.             {
  417.                 *PrintableArea: PAIR(8100, 12200)
  418.                 *PrintableOrigin: PAIR(300, 200)
  419.                 *CursorOrigin: PAIR(300, 200)
  420.                 *Command: CmdSelect
  421.                 {
  422.                     *Order: DOC_SETUP.12
  423.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7320Y"
  424.                 }
  425.             }
  426.             *case: LANDSCAPE_CC90
  427.             {
  428.                 *PrintableArea: PAIR(8300, 12120)
  429.                 *PrintableOrigin: PAIR(200, 240)
  430.                 *CursorOrigin: PAIR(200, 12360)
  431.                 *Command: CmdSelect
  432.                 {
  433.                     *Order: DOC_SETUP.12
  434.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  435.                 }
  436.             }
  437.         }
  438.     }
  439.  
  440.     *Option:EXECUTIVE_JIS                             *% physical page (10202, 15590 - 8.5039" x 12.992"))
  441.     {                                               
  442.         *rcNameID: RESDLL.Pcl5res.671                 *% "Executive (JIS)"
  443.         *PageDimensions: PAIR(10205,15590)
  444.         *Constraints: InputBin.ENVFEED
  445.  
  446.         *switch: Orientation
  447.         {
  448.             *case: PORTRAIT
  449.             {
  450.                 *PrintableArea: PAIR(9602, 15190)
  451.                 *PrintableOrigin: PAIR(300, 200)
  452.                 *CursorOrigin: PAIR(300, 200)
  453.                 *Command: CmdSelect
  454.                 {
  455.                     *Order: DOC_SETUP.12
  456.                     *Cmd: "<1B>&l18a8c1E<1B>*p0x0Y<1B>*c0t5761x9114Y"
  457.                 }
  458.             }
  459.             *case: LANDSCAPE_CC90
  460.             {
  461.                 *PrintableArea: PAIR(9802, 15110)
  462.                 *PrintableOrigin: PAIR(200, 240)
  463.                 *CursorOrigin: PAIR(200, 15350)
  464.                 *Command: CmdSelect
  465.                 {
  466.                     *Order: DOC_SETUP.12
  467.                     *Cmd: "<1B>&l18a8c1E<1B>*p0x0Y<1B>*c0t9066x5881Y"
  468.                 }
  469.             }
  470.         }
  471.     }
  472.  
  473.  
  474.  
  475.     *Option: LEGAL                                  *% physical page (10200, 16800 - 8.5" x 14.0"))
  476.     {
  477.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  478.         *Constraints: InputBin.ENVFEED
  479.  
  480.         *switch: Orientation
  481.         {
  482.             *case: PORTRAIT
  483.             {
  484.                 *PrintableArea: PAIR(9600, 16400)
  485.                 *PrintableOrigin: PAIR(300, 200)
  486.                 *CursorOrigin: PAIR(300, 200)
  487.                 *Command: CmdSelect
  488.                 {
  489.                     *Order: DOC_SETUP.12
  490.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  491.                 }
  492.             }
  493.             *case: LANDSCAPE_CC90
  494.             {
  495.                 *PrintableArea: PAIR(9800, 16320)
  496.                 *PrintableOrigin: PAIR(200, 240)
  497.                 *CursorOrigin: PAIR(200, 16560)
  498.                 *Command: CmdSelect
  499.                 {
  500.                     *Order: DOC_SETUP.12
  501.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  502.                 }
  503.             }
  504.         }
  505.     }
  506.  
  507.     *Option: LETTER                                 *% physical page (10200, 13200 - 8.5" x 11.0")
  508.     {
  509.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME 
  510.         *Constraints: InputBin.ENVFEED
  511.  
  512.         *switch: Orientation
  513.         {
  514.             *case: PORTRAIT
  515.             {
  516.                 *PrintableArea: PAIR(9600, 12800)
  517.                 *PrintableOrigin: PAIR(300, 200)
  518.                 *CursorOrigin: PAIR(300, 200)
  519.                 *Command: CmdSelect
  520.                 {
  521.                     *Order: DOC_SETUP.12
  522.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7680Y"
  523.                 }
  524.             }
  525.             *case: LANDSCAPE_CC90
  526.             {
  527.                 *PrintableArea: PAIR(9800, 12720)
  528.                 *PrintableOrigin: PAIR(200, 240)
  529.                 *CursorOrigin: PAIR(200, 12960)
  530.                 *Command: CmdSelect
  531.                 {
  532.                     *Order: DOC_SETUP.12
  533.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  534.                 }
  535.             }
  536.         }
  537.     }
  538.  
  539.     *Option: CUSTOMSIZE
  540.     {
  541.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  542.         *MinSize: PAIR(3600, 6000)                      *% (3.0" x 5.0")
  543.         *MaxSize: PAIR(10200, 16800)                    *% (8.5" x 14.0")
  544.         *MaxPrintableWidth: 10200
  545.         *MinLeftMargin: 100
  546.         *CenterPrintable?: FALSE
  547.  
  548.         *Constraints: InputBin.ENVFEED
  549.         *InsertBlock: =InputBinConstraints
  550.         *InsertBlock: =DuplexConstraints
  551.  
  552.         *switch: Orientation
  553.         {                                               
  554.             *case: PORTRAIT
  555.             {
  556.                 *CustCursorOriginX:     %d{((PhysPaperWidth - 10200) / 2) + 300}
  557.                 *CustCursorOriginY:     %d{200}
  558.                 *CustPrintableOriginX:  %d{300}
  559.                 *CustPrintableOriginY:  %d{200}
  560.                 *CustPrintableSizeX:    %d{PhysPaperWidth - 600}
  561.                 *CustPrintableSizeY:    %d{PhysPaperLength - 400}
  562.                 *Command: CmdSelect
  563.                 {
  564.                     *Order: DOC_SETUP.13
  565.                     *Cmd: "<1B>&l101a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  566.                 }
  567.             }
  568.             *case: LANDSCAPE_CC90
  569.             {
  570.                 *CustCursorOriginX:     %d{((PhysPaperWidth - 10200) / 2) + 200}
  571.                 *CustCursorOriginY:     %d{16560}
  572.                 *CustPrintableOriginX:  %d{200}
  573.                 *CustPrintableOriginY:  %d{240}
  574.                 *CustPrintableSizeX:    %d{PhysPaperWidth - 400}
  575.                 *CustPrintableSizeY:    %d{PhysPaperLength - 480}
  576.                 *Command: CmdSelect
  577.                 {
  578.                     *Order: DOC_SETUP.13
  579.                     *Cmd: "<1B>&l101a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  580.                 }
  581.             }
  582.         }
  583.     }
  584. }
  585.  
  586. *%-------------------------------------------------------------------------
  587. *% Installable Option - Envelope Feeder
  588. *%-------------------------------------------------------------------------
  589. *Feature: EnvFeeder
  590. {
  591.     *rcNameID: =ENV_FEED_DISPLAY
  592.     *HelpIndex: 12000
  593.     *FeatureType: PRINTER_PROPERTY
  594.     *DefaultOption: FALSE
  595.     *Option: FALSE
  596.     {
  597.         *rcNameID: =IDS_NOTINSTALLED
  598.         *Constraints: InputBin.ENVFEED
  599.     }
  600.     *Option: TRUE
  601.     {
  602.         *rcNameID: =IDS_INSTALLED
  603.     }
  604. }
  605.  
  606. *%-------------------------------------------------------------------------
  607. *% Paper Source - Form to Tray Assignment 
  608. *%-------------------------------------------------------------------------
  609. *Feature: InputBin
  610. {
  611.     *rcNameID: =PAPER_SOURCE_DISPLAY
  612.     *Option: PRINTER_SELECT
  613.     {
  614.         *rcNameID: =IDS_PRINTER_AUTO_SELECT
  615.  
  616.         *Command: CmdSelect
  617.         {
  618.             *Order: DOC_SETUP.11
  619.             *Cmd: "<1B>&l7H"
  620.         }
  621.     }
  622.     *Option: TRAY1
  623.     {
  624.         *rcNameID: =IDS_TRAY1
  625.         *Command: CmdSelect
  626.         {
  627.             *Order: DOC_SETUP.11
  628.             *Cmd: "<1B>&l4H"
  629.         }
  630.     }
  631.     *Option: TRAY2
  632.     {
  633.         *rcNameID: =IDS_TRAY2
  634.         *Command: CmdSelect
  635.         {
  636.             *Order: DOC_SETUP.11
  637.             *Cmd: "<1B>&l1H"
  638.         }
  639.     }
  640.     *Option: TRAY3
  641.     {
  642.         *rcNameID: =IDS_TRAY3
  643.         *Command: CmdSelect
  644.         {
  645.             *Order: DOC_SETUP.11
  646.             *Cmd: "<1B>&l5H"
  647.         }
  648.     }
  649.     *Option: TRAY4
  650.     {
  651.         *rcNameID: RESDLL.Pcl5res.428
  652.         *Command: CmdSelect
  653.         {
  654.             *Order: DOC_SETUP.11
  655.             *Cmd: "<1B>&l8H"
  656.         }
  657.     }
  658.     *Option: MANUAL
  659.     {
  660.         *rcNameID: =IDS_MANUAL_FEED_TRAY1
  661.         *Command: CmdSelect
  662.         {
  663.             *Order: DOC_SETUP.11
  664.             *Cmd: "<1B>&l2H"
  665.         }
  666.     }
  667.     *Option: ENVFEED
  668.     {
  669.         *rcNameID: =ENV_FEED_DISPLAY                                *% Envelope Feeder
  670.         *Command: CmdSelect
  671.         {
  672.             *Order: DOC_SETUP.11
  673.             *Cmd: "<1B>&l6H"
  674.         }
  675.     }
  676. }
  677.  
  678. *Feature: TRAY3
  679. {
  680.     *rcNameID: =IDS_TRAY3
  681.     *HelpIndex: 12005
  682.     *FeatureType: PRINTER_PROPERTY
  683.     *DefaultOption: FALSE
  684.     *Option: FALSE
  685.     {
  686.         *rcNameID: =IDS_NOTINSTALLED
  687.     }
  688.     *Option: TRUE
  689.     {
  690.         *rcNameID: =IDS_INSTALLED
  691.     }
  692. }
  693. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.TRAY3)
  694.  
  695. *Feature: TRAY4
  696. {
  697.     *rcNameID: RESDLL.Pcl5res.428
  698.     *HelpIndex: 12005
  699.     *FeatureType: PRINTER_PROPERTY
  700.     *DefaultOption: FALSE
  701.     *Option: FALSE
  702.     {
  703.         *rcNameID: =IDS_NOTINSTALLED
  704.     }
  705.     *Option: TRUE
  706.     {
  707.         *rcNameID: =IDS_INSTALLED
  708.     }
  709. }
  710. *InvalidCombination: LIST(TRAY4.FALSE,InputBin.TRAY4)
  711.  
  712.  
  713. *%-------------------------------------------------------------------------
  714. *% Installable Option - Duplex Unit
  715. *%-------------------------------------------------------------------------
  716. *Feature: DuplexUnit
  717. {
  718.     *rcNameID: RESDLL.Pcl5res.429                           *% Duplex Unit
  719.     *HelpIndex: 12004
  720.     *FeatureType: PRINTER_PROPERTY
  721.     *DefaultOption: FALSE
  722.     *Option: FALSE
  723.     {
  724.         *rcNameID: =IDS_NOTINSTALLED
  725.         *DisabledFeatures: LIST(Duplex)
  726.     }
  727.     *Option: TRUE
  728.     {
  729.         *rcNameID: =IDS_INSTALLED
  730.     }
  731. }
  732.  
  733.  
  734.  
  735. *%-------------------------------------------------------------------------
  736. *% Duplex
  737. *%-------------------------------------------------------------------------
  738. *Feature: Duplex
  739. {
  740.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  741.     *DefaultOption: NONE
  742.     *Option: NONE
  743.     {
  744.         *rcNameID: =NONE_DISPLAY
  745.         *Command: CmdSelect
  746.         {
  747.             *Order: DOC_SETUP.9
  748.             *Cmd: "<1B>&l0S"
  749.         }
  750.     }
  751.     *Option: VERTICAL
  752.     {
  753.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  754.         *Command: CmdSelect
  755.         {
  756.             *Order: DOC_SETUP.10
  757.             *Cmd: "<1B>&l1S"
  758.  
  759.         }
  760.     }
  761.     *Option: HORIZONTAL
  762.     {
  763.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  764.         *Command: CmdSelect
  765.         {
  766.             *Order: DOC_SETUP.10
  767.             *Cmd: "<1B>&l2S"
  768.         }
  769.     }
  770. }
  771.  
  772.  
  773. *%-------------------------------------------------------------------------
  774. *% Media Type
  775. *%-------------------------------------------------------------------------
  776. *Feature: MediaType
  777. {
  778.     *rcNameID: =MEDIA_TYPE_DISPLAY
  779.     *DefaultOption: AutoSelect
  780.  
  781.     *Option: AutoSelect
  782.     {
  783.         *rcNameID: =IDS_AUTO_SELECT
  784.         *Command: CmdSelect
  785.         {
  786.             *Order: DOC_SETUP.12
  787.             *Cmd: ""
  788.         }
  789.     }
  790.     *Option: BOND
  791.     {
  792.         *rcNameID: =IDS_BOND_TYPE
  793.         *Command: CmdSelect
  794.         {
  795.             *Order: DOC_SETUP.12
  796.             *Cmd: "<1B>&n5WdBond"
  797.         }
  798.     }
  799.     *Option: CARDSTOCK
  800.     {
  801.         *rcNameID: =IDS_CARDSTOCK_TYPE
  802.         *Command: CmdSelect
  803.         {
  804.             *Order: DOC_SETUP.12
  805.             *Cmd: "<1B>&n11WdCard Stock"
  806.         }
  807.     }
  808.     *Option: COLOR
  809.     {
  810.         *rcNameID: =IDS_COLOR_TYPE
  811.         *Command: CmdSelect
  812.         {
  813.             *Order: DOC_SETUP.12
  814.             *Cmd: "<1B>&n6WdColor"
  815.         }
  816.     }
  817.     *Option: LABELS
  818.     {
  819.         *rcNameID: =IDS_LABELS_TYPE
  820.         *Command: CmdSelect
  821.         {
  822.             *Order: DOC_SETUP.12
  823.             *Cmd: "<1B>&n7WdLabels"
  824.         }
  825.         *Constraints: InputBin.ENVFEED
  826.         *InsertBlock: =DuplexConstraints
  827.     }
  828.     *Option: LETTERHEAD
  829.     {
  830.         *rcNameID: =IDS_LETTERHEAD_TYPE
  831.         *Command: CmdSelect
  832.         {
  833.             *Order: DOC_SETUP.12
  834.             *Cmd: "<1B>&n11WdLetterhead"
  835.         }
  836.     }
  837.     *Option: PLAIN
  838.     {
  839.         *rcNameID: =IDS_PLAIN_TYPE
  840.         *Command: CmdSelect
  841.         {
  842.             *Order: DOC_SETUP.12
  843.             *Cmd: "<1B>&n6WdPlain"
  844.         }
  845.     }
  846.     *Option: PREPRINTED
  847.     {
  848.         *rcNameID: =IDS_PREPRINTED_TYPE
  849.         *Command: CmdSelect
  850.         {
  851.             *Order: DOC_SETUP.12
  852.             *Cmd: "<1B>&n11WdPreprinted"
  853.         }
  854.     }
  855.     *Option: PREPUNCHED
  856.     {
  857.         *rcNameID: =IDS_PREPUNCHED_TYPE
  858.         *Command: CmdSelect
  859.         {
  860.             *Order: DOC_SETUP.12
  861.             *Cmd: "<1B>&n11WdPrepunched"
  862.         }
  863.     }
  864.     *Option: RECYCLED
  865.     {
  866.         *rcNameID: =IDS_RECYCLED_TYPE
  867.         *Command: CmdSelect
  868.         {
  869.             *Order: DOC_SETUP.12
  870.             *Cmd: "<1B>&n9WdRecycled"
  871.         }
  872.     }
  873.     *Option: ROUGH
  874.     {
  875.         *rcNameID: =IDS_ROUGH_TYPE
  876.         *Command: CmdSelect
  877.         {
  878.             *Order: DOC_SETUP.12
  879.             *Cmd: "<1B>&n6WdRough"
  880.         }
  881.     }
  882.     *Option: TRANSPARENCY
  883.     {
  884.         *rcNameID: =TRANSPARENCY_DISPLAY
  885.         *Command: CmdSelect
  886.         {
  887.             *Order: DOC_SETUP.12
  888.             *Cmd: "<1B>&n13WdTransparency"
  889.         }
  890.         *Constraints: InputBin.ENVFEED
  891.         *InsertBlock: =DuplexConstraints
  892.     }
  893. }
  894.  
  895.  
  896. *%-------------------------------------------------------------------------
  897. *% Custom Feature - Printer Hard-Disk
  898. *%-------------------------------------------------------------------------
  899. *Feature: PrinterHardDisk
  900. {
  901.     *rcNameID: 181
  902.     *HelpIndex: 12002
  903.     *FeatureType: PRINTER_PROPERTY
  904.     *DefaultOption: FALSE
  905.     *Option: FALSE
  906.     {
  907.         *rcNameID: =IDS_NOTINSTALLED
  908.         *switch:  Memory  
  909.         {
  910.             *case: 8MB
  911.             {
  912.                 *DisabledFeatures: LIST(Collate)
  913.             }
  914.             *case: 16MB
  915.             {
  916.                 *DisabledFeatures: LIST(Collate)
  917.             }
  918.             *case: 24MB
  919.             {
  920.                 *DisabledFeatures: LIST(Collate)
  921.             }
  922.         }
  923.     }
  924.     *Option: TRUE
  925.     {
  926.         *rcNameID: =IDS_INSTALLED
  927.     }
  928. }
  929.  
  930. *%-------------------------------------------------------------------------
  931. *% Custom Feature - Job Retention
  932. *%-------------------------------------------------------------------------
  933. *Feature: JobRetention
  934. {
  935.     *rcNameID: 187
  936.     *HelpIndex: 12013
  937.     *FeatureType: PRINTER_PROPERTY
  938.     *DefaultOption: FALSE
  939.     *Option: FALSE
  940.     {
  941.         *rcNameID: 191
  942.     }
  943.     *Option: TRUE
  944.     {
  945.         *rcNameID: 189
  946.     }
  947. }
  948. *InvalidCombination: LIST(JobRetention.TRUE, PrinterHardDisk.FALSE, Memory.8MB)
  949. *InvalidCombination: LIST(JobRetention.TRUE, PrinterHardDisk.FALSE, Memory.16MB)
  950. *InvalidCombination: LIST(JobRetention.TRUE, PrinterHardDisk.FALSE, Memory.24MB)
  951.  
  952. *%-------------------------------------------------------------------------
  953. *% JRConstraints will have an option value for full, none or partial
  954. *% (1) JRCHDFull - the printer requires a Hard Disk for ALL JR options
  955. *% (2) JRCHDPartial - the printer requires a HardDisk only for SOME JR options
  956. *%                    These options will be specified in another custom feature
  957. *% (3) JRCHDNone - the printer does NOT require a HardDisk for ANY JR options
  958. *%-------------------------------------------------------------------------
  959.  
  960. *%-------------------------------------------------------------------------
  961. *% Printer Specific Feature Data - Job Retention Constraints
  962. *%-------------------------------------------------------------------------
  963. *Feature: JRConstraints
  964. {
  965.     *Name: "JRConstraints"
  966.     *FeatureType: DOC_PROPERTY
  967.     *DefaultOption: JRCHDPartial
  968.     *Option: JRCHDPartial
  969.     {
  970.         *Name: "JRCHDPartial"
  971.     }
  972.     *Option: JRCJobRet
  973.     {
  974.         *Name: "JRCJobRet" 
  975.     }
  976.     *Option: 0
  977.     {
  978.         *Name: "0"
  979.     }
  980. }
  981.  
  982. *%-------------------------------------------------------------------------
  983. *% Printer Specific Feature Data - Job Retention Option Constraints
  984. *%-------------------------------------------------------------------------
  985.  
  986. *%-------------------------------------------------------------------------
  987. *% Two JR Option constraint features are defined
  988. *% (1) JRHDInstalled - This lists the JR options available when HD is installed
  989. *% (2) JRHDNotInstalled - This lists the JR options available when HD is not installed
  990. *%       The options are as follows - (in this order)
  991. *%               (a) JRHDOff 
  992. *%               (b) JRHDProof
  993. *%               (c) JRHDPrivate
  994. *%               (d) JRHDQuickCopy
  995. *%               (e) JRHDStore
  996. *%   NOTE: The options are the same for both JRHDInstalled and JRHDNotInstalled
  997. *%-------------------------------------------------------------------------
  998. *Feature: JRHDInstalled
  999. {
  1000.     *Name: "JRHDInstalled"
  1001.     *FeatureType: DOC_PROPERTY
  1002.     *DefaultOption: JRHDOff
  1003.     *Option: JRHDOff
  1004.     {
  1005.         *Name: "JRHDOff"
  1006.     }
  1007.     *Option: JRHDProof
  1008.     {
  1009.         *Name: "JRHDProof"
  1010.     }
  1011.     *Option: JRHDPrivate
  1012.     {
  1013.         *Name: "JRHDPrivate"
  1014.     }
  1015.     *Option: JRHDQuickCopy
  1016.     {
  1017.         *Name: "JRHDQuickCopy"
  1018.     }
  1019.     *Option: JRHDStore
  1020.     {
  1021.         *Name: "JRHDStore"
  1022.     }
  1023. }
  1024.  
  1025. *Feature: JRHDNotInstalled
  1026. {
  1027.     *Name: "JRHDNotInstalled"
  1028.     *FeatureType: DOC_PROPERTY
  1029.     *DefaultOption: JRHDOff
  1030.     *Option: JRHDOff
  1031.     {
  1032.         *Name: "JRHDOff"
  1033.     }
  1034.     *Option: JRHDProof
  1035.     {
  1036.         *Name: "JRHDProof"
  1037.     }
  1038.     *Option: JRHDPrivate
  1039.     {
  1040.         *Name: "JRHDPrivate"
  1041.     }
  1042. }
  1043.  
  1044. *%-------------------------------------------------------------------------
  1045. *% Printer Specific Command Callback Data
  1046. *%-------------------------------------------------------------------------
  1047. *Feature: JRCmdCallback
  1048. {
  1049.     *Name: "JRCmdCallback"
  1050.     *ConcealFromUI?: TRUE
  1051.     *FeatureType: DOC_PROPERTY
  1052.     *DefaultOption: JR
  1053.     *Option: JR
  1054.     {
  1055.         *Name: "JR"
  1056.         *Command: CmdSelect
  1057.         {
  1058.             *Order: JOB_SETUP.2
  1059.             *CallbackID:1 
  1060.         }
  1061.     }
  1062. }
  1063.  
  1064. *%-------------------------------------------------------------------------
  1065. *% Printer Specific Feature Data - Model Name
  1066. *%-------------------------------------------------------------------------
  1067. *Feature: HPPrinterModelName
  1068. {
  1069.     *Name: "HPPrinterModelName"
  1070.     *ConcealFromUI?:TRUE
  1071.     *FeatureType: DOC_PROPERTY
  1072.     *DefaultOption: HP_LaserJet_4100_Series_PCL
  1073.     *Option: HP_LaserJet_4100_Series_PCL
  1074.     {
  1075.         *Name: "HP LaserJet 4100 Series PCL"
  1076.     }
  1077. }
  1078.  
  1079.  
  1080. *%-------------------------------------------------------------------------
  1081. *% Installable Option - Memory
  1082. *%-------------------------------------------------------------------------
  1083. *Feature: Memory
  1084. {
  1085.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1086.     *HelpIndex: 12003
  1087.     *DefaultOption: 16MB
  1088.  
  1089.     *MemConfigMB: PAIR(8, 7)
  1090.     *MemConfigMB: PAIR(16, 13)
  1091.     *MemConfigMB: PAIR(24, 21)
  1092.     *MemConfigMB: PAIR(32, 28)
  1093.     *MemConfigMB: PAIR(40, 35)
  1094.     *MemConfigMB: PAIR(48, 42)
  1095.     *MemConfigMB: PAIR(56, 50)
  1096.     *MemConfigMB: PAIR(64, 58)
  1097.     *MemConfigMB: PAIR(72, 64)
  1098.     *MemConfigMB: PAIR(80, 72)
  1099.     *MemConfigMB: PAIR(88, 78)
  1100.     *MemConfigMB: PAIR(96, 86)
  1101.     *MemConfigMB: PAIR(104, 94)
  1102.     *MemConfigMB: PAIR(112, 100)
  1103.     *MemConfigMB: PAIR(128, 116)
  1104.     *MemConfigMB: PAIR(136, 124)
  1105.     *MemConfigMB: PAIR(144, 128)
  1106.     *MemConfigMB: PAIR(152, 136)
  1107.     *MemConfigMB: PAIR(160, 144)
  1108.     *MemConfigMB: PAIR(168, 152)
  1109.     *MemConfigMB: PAIR(176, 160)
  1110.     *MemConfigMB: PAIR(192, 176)
  1111.     *MemConfigMB: PAIR(200, 182)
  1112.     *MemConfigMB: PAIR(208, 190)
  1113.     *MemConfigMB: PAIR(224, 206)
  1114.     *MemConfigMB: PAIR(256, 238)
  1115. }
  1116.  
  1117.  
  1118. *%-------------------------------------------------------------------------
  1119. *% Orientation
  1120. *% When duplexing with orientation change, the NoPageEject
  1121. *% command allows the second side to have a different orientation,
  1122. *% but the top margin gets reset.  The <1B>&l1E and NoPageEject are used
  1123. *% to get both sides to work with differing orientations.
  1124. *%-------------------------------------------------------------------------
  1125. *Feature: Orientation
  1126. {
  1127.     *rcNameID: =ORIENTATION_DISPLAY
  1128.     *DefaultOption: PORTRAIT
  1129.     *Option: PORTRAIT
  1130.     {
  1131.         *rcNameID: =PORTRAIT_DISPLAY
  1132.         *Command: CmdSelect
  1133.         {
  1134.             *Order: DOC_SETUP.8
  1135.             *NoPageEject?: TRUE
  1136.             *Cmd: "<1B>&l0o1E"
  1137.         }
  1138.     }
  1139.     *Option: LANDSCAPE_CC90
  1140.     {
  1141.         *rcNameID: =LANDSCAPE_DISPLAY
  1142.         *Command: CmdSelect
  1143.         {
  1144.             *Order: DOC_SETUP.8
  1145.             *NoPageEject?: TRUE
  1146.             *Cmd: "<1B>&l1o1E"
  1147.         }
  1148.     }
  1149. }
  1150.  
  1151.  
  1152. *%-------------------------------------------------------------------------
  1153. *% Collate - Printer supports collation in harddisk and/or >= 32MB ram 
  1154. *% (see CopyCmd and PrinterHardDisk)
  1155. *%-------------------------------------------------------------------------
  1156. *Feature: Collate
  1157. {
  1158.     *rcNameID: RESDLL.Pcl5res.392
  1159.     *DefaultOption: OFF
  1160.  
  1161.     *Option: ON
  1162.     {
  1163.         *rcNameID: =ON_DISPLAY
  1164.         *switch: PrinterHardDisk
  1165.         {
  1166.             *case: FALSE
  1167.             {
  1168.                 *switch:  Memory  
  1169.                 {
  1170.                     *case: 8MB
  1171.                     {
  1172.                         *Command: CmdSelect
  1173.                         {
  1174.                             *Order: JOB_SETUP.5
  1175.                             *Cmd: ""
  1176.                         }
  1177.                     }
  1178.                     *case: 16MB
  1179.                     {
  1180.                         *Command: CmdSelect
  1181.                         {
  1182.                             *Order: JOB_SETUP.5
  1183.                             *Cmd: ""
  1184.                         }
  1185.                     }
  1186.                     *case: 24MB
  1187.                     {
  1188.                         *Command: CmdSelect
  1189.                         {
  1190.                               *Order: JOB_SETUP.5
  1191.                               *Cmd: ""
  1192.                         }
  1193.                     }
  1194.                     *default
  1195.                     {
  1196.                         *Command: CmdSelect
  1197.                         {
  1198.                               *Order: JOB_SETUP.5
  1199.                               *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  1200.                         }
  1201.                     }
  1202.                 }
  1203.             }
  1204.             *case: TRUE
  1205.             {
  1206.                 *Command: CmdSelect
  1207.                 {
  1208.                     *Order: JOB_SETUP.5
  1209.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  1210.                 }
  1211.             }
  1212.         }
  1213.     }
  1214.  
  1215.     *Option: OFF
  1216.     {
  1217.         *rcNameID: =OFF_DISPLAY
  1218.         *Command: CmdSelect
  1219.         {
  1220.             *Order: JOB_SETUP.5
  1221.             *%Collation NOT selected in application. 
  1222.             *Cmd: ""
  1223.         }
  1224.     }
  1225. }
  1226.  
  1227.  
  1228. *%-------------------------------------------------------------------------
  1229. *% CmdCopies
  1230. *% Only set number of copies if Collate is OFF -- otherwise, Printer or
  1231. *% Print Processor will take care of it (see *Feature: Collate)
  1232. *%-------------------------------------------------------------------------
  1233. *switch: Collate
  1234. {
  1235.     *case: OFF
  1236.     {
  1237.         *Command: CmdCopies
  1238.         {
  1239.             *Order: DOC_SETUP.7
  1240.             *% Uncollated copies!  Set copy count to NumOfCopies...
  1241.             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1242.         }
  1243.     }
  1244.     *case: ON
  1245.     {
  1246.         *switch: PrinterHardDisk
  1247.         {
  1248.             *case: FALSE
  1249.             {
  1250.                 *switch:  Memory  
  1251.                 {
  1252.                     *case: 8MB
  1253.                     {
  1254.                         *Command: CmdCopies
  1255.                         {
  1256.                             *Order: DOC_SETUP.7
  1257.                             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1258.                         }
  1259.                     }
  1260.                     *case: 16MB
  1261.                     {
  1262.                         *Command: CmdCopies
  1263.                         {
  1264.                             *Order: DOC_SETUP.7
  1265.                             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1266.                         }
  1267.                     }
  1268.                     *case: 24MB
  1269.                     {
  1270.                         *Command: CmdCopies
  1271.                         {
  1272.                               *Order: DOC_SETUP.7
  1273.                               *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1274.                         }
  1275.                     }
  1276.                     *default
  1277.                     {
  1278.                         *Command: CmdCopies
  1279.                         {
  1280.                               *Order: DOC_SETUP.7
  1281.                               *Cmd: "<1B>&l1X"
  1282.                         }
  1283.                     }
  1284.                 }
  1285.             }
  1286.             *case: TRUE
  1287.             {
  1288.                 *Command: CmdCopies
  1289.                 {
  1290.                     *Order: DOC_SETUP.7
  1291.                     *Cmd: "<1B>&l1X"
  1292.                 }
  1293.             }
  1294.         }
  1295.     }
  1296. }
  1297.  
  1298. *%-------------------------------------------------------------------------
  1299. *% Resolution
  1300. *%-------------------------------------------------------------------------
  1301. *Feature: Resolution                                
  1302. {                                                  
  1303.     *rcNameID: =RESOLUTION_DISPLAY
  1304.     *DefaultOption: Option1
  1305.     *Option: Option1
  1306.     {
  1307.         *Name: "600 x 600 " =DOTS_PER_INCH
  1308.         *DPI: PAIR(600, 600)
  1309.         *TextDPI: PAIR(600, 600)
  1310.         *MinStripBlankPixels: 32
  1311.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  1312.         *SpotDiameter: 100
  1313.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  1314.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  1315.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  1316.         *Command: CmdSelect
  1317.         {
  1318.             *Order: JOB_SETUP.6
  1319.             *Cmd: "@PJL SET RESOLUTION=600<0A>"
  1320. +                 "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  1321.         }
  1322.     }
  1323.     *Option: Option2
  1324.     {
  1325.         *Name: "300 x 300 " =DOTS_PER_INCH
  1326.         *DPI: PAIR(300, 300)
  1327.         *TextDPI: PAIR(300, 300)
  1328.         *MinStripBlankPixels: 32
  1329.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  1330.         *SpotDiameter: 100
  1331.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  1332.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  1333.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  1334.         *Command: CmdSelect
  1335.         {
  1336.             *Order: JOB_SETUP.6
  1337.             *Cmd: "@PJL SET RESOLUTION=300<0A>"
  1338. +                 "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  1339.         }
  1340.     }
  1341. }
  1342.  
  1343.  
  1344. *%-------------------------------------------------------------------------
  1345. *% Halftone
  1346. *%-------------------------------------------------------------------------
  1347. *Feature: Halftone
  1348. {
  1349.     *rcNameID: =HALFTONING_DISPLAY
  1350.     *DefaultOption: HT_PATSIZE_AUTO
  1351.     *Option: HT_PATSIZE_AUTO
  1352.     {
  1353.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1354.     }
  1355.     *Option: HT_PATSIZE_6x6_M
  1356.     {
  1357.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1358.     }
  1359.     *Option: HT_PATSIZE_8x8_M
  1360.     {
  1361.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1362.     }
  1363. }
  1364.  
  1365.  
  1366. *%-------------------------------------------------------------------------
  1367. *% Economode
  1368. *%-------------------------------------------------------------------------
  1369. *Feature: Economode
  1370. {
  1371.     *rcNameID: =IDS_ECONOMODE
  1372.     *HelpIndex: 12009
  1373.     *DefaultOption: Option1
  1374.     *Option: Option1
  1375.     {
  1376.         *rcNameID: =OFF_DISPLAY
  1377.         *Command: CmdSelect
  1378.         {
  1379.             *Order: JOB_SETUP.5
  1380.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  1381.         }
  1382.     }
  1383.     *Option: Option2
  1384.     {
  1385.         *rcNameID: =ON_DISPLAY
  1386.         *Command: CmdSelect
  1387.         {
  1388.             *Order: JOB_SETUP.5
  1389.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  1390.         }
  1391.     }
  1392. }
  1393.  
  1394.  
  1395. *%-------------------------------------------------------------------------
  1396. *% Doc setup commands
  1397. *%-------------------------------------------------------------------------
  1398. *Command: CmdStartDoc
  1399. {
  1400.     *Order: DOC_SETUP.7
  1401.     *Cmd: "<1B>&u600D<1B>*r0F"
  1402. }
  1403. *Command: CmdStartPage
  1404. {
  1405.     *Order: PAGE_SETUP.1
  1406.     *Cmd: "<1B>*b0M<0D>"
  1407. }
  1408.  
  1409. *%-------------------------------------------------------------------------
  1410. *% Job setup commands
  1411. *%-------------------------------------------------------------------------
  1412. *Command: CmdStartJob
  1413. {
  1414.     *Order: JOB_SETUP.1
  1415.     *Cmd: "<1B>%%-12345X"
  1416. +         "@PJL COMMENT HP LaserJet 4100 Series PCL<0A>"
  1417. +         "@PJL SET RET=ON<0A>"
  1418. }
  1419.  
  1420. *Command: CmdEndJob
  1421. {
  1422.     *Order: JOB_FINISH.1
  1423.     *Cmd: "<1B>E<1B>%%-12345X"
  1424. }
  1425.  
  1426. *Command: CmdCopies
  1427. {
  1428.     *Order: DOC_SETUP.13
  1429.     *Cmd: "<1B>&l" %d[1,32767]{NumOfCopies}"X"
  1430. }
  1431.  
  1432.  
  1433.  
  1434. *RotateCoordinate?: TRUE
  1435. *RotateRaster?: TRUE
  1436. *RotateFont?: TRUE
  1437. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1438. *MemoryUsage: LIST(FONT)
  1439. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1440. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1441. *XMoveThreshold: 0
  1442. *YMoveThreshold: 0
  1443. *XMoveUnit: 600
  1444. *YMoveUnit: 600
  1445. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1446. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1447. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1448. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1449. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1450. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1451. *Command: CmdCR { *Cmd : "<0D>" }
  1452. *Command: CmdLF { *Cmd : "<0A>" }
  1453. *Command: CmdFF { *Cmd : "<0C>" }
  1454. *Command: CmdBackSpace { *Cmd : "<08>" }
  1455. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1456. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1457. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1458. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1459. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1460. *EjectPageWithFF?: TRUE
  1461. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1462. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1463. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1464. *OutputDataFormat: H_BYTE
  1465. *OptimizeLeftBound?: TRUE
  1466. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1467. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1468.  
  1469. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1470. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1471. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1472. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1473. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1474. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1475. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1476. *MinGrayFill: 1
  1477. *MaxGrayFill: 100
  1478. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1479. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1480. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1481. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1482. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  1483.  
  1484. *switch: Resolution
  1485. {
  1486.     *case: Option1
  1487.     {
  1488.         *FontFormat: HPPCL_OUTLINE
  1489.     }
  1490.     *case: Option2
  1491.     {
  1492.         *FontFormat: HPPCL_RES
  1493.     }
  1494. }
  1495.  
  1496.